@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="purchaseContent">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="customerCompanyName" name="企业客户 *" underline="true"
                    hidden="customerCompanyId" readonly="readonly"
                    clickFun="PurchaseInfoDlg.showCustomerCompanySelectTree(); return false;"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="customerCompanyTreeDiv" selectTreeId="customerCompanyTree"
                    selectStyle="width:244px !important;"/>
                    
                    <#input id="year" name="年度 *" underline="true"/>
                    <#input id="providerName" name="供应商名称 *" underline="true"/>
                    <#input id="product" name="采购商品 *" underline="true"/>
                    <#input id="annualPurchaseAmount" name="年度采购金额(万元) *" underline="true"/>
                    <#input id="accountPayableBalance" name="应付账款余额(万元)" underline="true"/>
                    <#input id="cashPaid" name="现金付款量(万元)" underline="true"/>
                </div>

                <div class="col-sm-6">

                    <#input id="silverTicketPaid" name="银票付款量(万元)" underline="true"/>
                    <#input id="businessTicketPaid" name="商票付款量(万元)" underline="true"/>
                    <#input id="period" name="一般期限(月)" underline="true"/>
                    <#input id="businessTicketDiscount" name="商票贴现量(万元)" underline="true"/>
                    <#input id="discountInterestRate" name="贴现利率（%）" underline="true"/>
                    <#input id="providerProductBalance" name="供应商供货余额(万元)" underline="true"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                    clickFun="PurchaseInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PurchaseInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/customer/purchase/purchase_info.js"></script>
@}
